#ifndef CPROCESS_CYCLE_H
#define CPROCESS_CYCLE_H

#include <sys/types.h>

class CProcessCycle {
public:
	static void startWorkerProcess(int nProcessNum);
	static int spawnProcess(int nProcessNum, const char* pProcName);
	static void workerProcessCycle(int nNum, const char* pProcName);
	static void workerProcessInit(int nNum);
	static void masterProcessCycle();

private:
	CProcessCycle() = delete;
	~CProcessCycle() = delete;
	static char m_szMasterProcessName[];
};

#endif